import request from '@/utils/request';

export async function fetch(params: any) {
  return request('/users/list', {
    params,
  });
}

export async function batchDelete(params: any) {
  return request('/users/batch-del', {
    method: 'delete',
    data: params,
  });
}

export async function fetchChatRecords(params: any) {
  return request('/chat/records');
}
